package cn.tedu.medicalpath.employee.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Employee {
    @ApiModelProperty(value = "员工ID")
    Integer id;
    @ApiModelProperty(value = "员工姓名")
    String name;
    @ApiModelProperty(value = "密码")
    String password;
    @ApiModelProperty(value = "身份证号")
    String personId;
    @ApiModelProperty(value = "员工性别 男1 女0")
    String gender;
    @ApiModelProperty(value = "员工年龄")
    Integer age;
    @ApiModelProperty(value = "手机号码")
    String phone;
    @ApiModelProperty(value = "邮箱")
    String email;
    @ApiModelProperty(value = "地址")
    String address;
    @ApiModelProperty(value = "所属科室")
    String department;
    @ApiModelProperty(value = "岗位ID")
    Integer roleId;
    @ApiModelProperty(value = "创建时间")
    Date createTime;
    @ApiModelProperty(value = "更新时间")
    Date updateTime;
    @ApiModelProperty(value = "员工状态 启用0 禁用1")
    String status;
}
